package com.ruge.system.pojo.request;

import com.ruge.common.model.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ruge.wu
 * @program ruge
 * @description 用户请求实体类
 * @date 2020-03-17 13:52
 **/
@Data
public class UserRequest  extends BaseRequest {
    @ApiModelProperty(example="登录名")
    private String loginName;
    @ApiModelProperty(example="昵称")
    private String nickName;
    @ApiModelProperty(example="密码")
    private String password;
    @ApiModelProperty(example="shiro加密盐")
    private String salt;
    @ApiModelProperty(example="手机号码")
    private String phone;
    @ApiModelProperty(example="邮箱地址")
    private String email;
    @ApiModelProperty(example="账户是否锁定")
    private Boolean locked;
    @ApiModelProperty(example="用户类型 0 超级管理员 1 普通用户")
    private Integer type;

    @ApiModelProperty(example="授权操作的 用户id")
    private Long uid;
    @ApiModelProperty(example="授权操作的 角色id")
    private Long rid;

    @ApiModelProperty(example="旧的密码")
    private String oldPassword;
    @ApiModelProperty(example="新的密码")
    private String newPassword;
    @ApiModelProperty(example="新的密码")
    private String againPassword;
}
